<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GonzalesMyClaims.aspx.cs" Inherits="GonzalesMyClaims" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="WebStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
    <div>
    <table width="100%" border="0" cellspacing="1" cellpadding="8">
      <tr>
        <td class="PageTitle" style="width: 1151px"><asp:Label ID="Label_PageTitle" Text='Expense' runat="server" />        
</td>
      </tr>
      <tr>
        <td style="width: 1151px"><table width="100%" border="0" cellspacing="1" cellpadding="2">
            <tr>
              <td width="170" valign="top"><asp:Label CssClass="FormTitle" ID="Label_Information" runat="server" Text='My Claims' />              
<p>
  <asp:Label CssClass="NormalBodyText" ID="Label_Remarks" runat="server" Text='Find an existing claim to review. You may create a new claim by copying an existing one.' /></p></td>
              <td width="8" class="VerticalDivider">&nbsp;</td>
              <td valign="top">
              <table width="100%" border="0" cellpadding="2" cellspacing="0" class="FormBorder">
                <tr>
                  <td class="TableResultCriteriaBar"><table width="100%" border="0" cellspacing="0" cellpadding="1">
                    <tr>
                      <td style="height: 24px"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_ByYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_ByYear_SelectedIndexChanged"></asp:DropDownList>
                          <asp:DropDownList CssClass="FormDropDown" ID="DropDownList_ByStatus" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_ByStatus_SelectedIndexChanged"></asp:DropDownList></td>
                      <td align="right" style="height: 24px"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortBy" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_SortBy_SelectedIndexChanged"></asp:DropDownList>
                          <asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortOrder" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_SortOrder_SelectedIndexChanged"></asp:DropDownList></td>
                    </tr>
                  </table></td>
                </tr>
                <tr>
                  <td valign="top"><asp:GridView ID="GridViewResult" runat="server" AutoGenerateColumns="False" CssClass="FormBorder" Width="100%" BorderStyle="Solid" BorderWidth="1px" CellPadding="5" AllowPaging="True" PageSize="20" OnPageIndexChanging="GridViewResult_PageIndexChanging" BorderColor="LightGray">
                          <Columns>
                              <asp:BoundField HeaderText="Date" DataField="DateCreatedInString" HtmlEncode="False" >
                                  <ItemStyle HorizontalAlign="Center" />
                                  <HeaderStyle HorizontalAlign="Center" Width="80px" />                              </asp:BoundField>
                              <asp:BoundField DataField="Category" HeaderText="Category">
                                  <ItemStyle HorizontalAlign="Center" Width="70px" />
                              </asp:BoundField>
                              <asp:BoundField HeaderText="Claim #" DataField="ClaimID" >
                                  <ItemStyle HorizontalAlign="Center" />
                                  <HeaderStyle HorizontalAlign="Center" Width="80px" />                              </asp:BoundField>
                              <asp:BoundField HeaderText="Purpose" DataField="Purpose" >
                                  <HeaderStyle HorizontalAlign="Left" />                              </asp:BoundField>
                              <asp:BoundField HeaderText="Claim Period" DataField="ClaimPeriod" >
                                  <ItemStyle HorizontalAlign="Center" />
                                  <HeaderStyle HorizontalAlign="Center" Width="75px" />                              </asp:BoundField>
                              <asp:BoundField HeaderText="Currency" DataField="Currency" >
                                  <ItemStyle HorizontalAlign="Center" />
                                  <HeaderStyle HorizontalAlign="Center" Width="50px" />                              </asp:BoundField>
                              <asp:BoundField HeaderText="Amount" DataField="AmountInStr" >
                                  <ItemStyle HorizontalAlign="Center" />
                                  <HeaderStyle HorizontalAlign="Center" Width="90px" />                              </asp:BoundField>
                              <asp:BoundField HeaderText="Approved Amount" DataField="FinalAmountInStr" >
                                  <ItemStyle HorizontalAlign="Center" />
                                  <HeaderStyle HorizontalAlign="Center" Width="80px" />                              </asp:BoundField>
                              <asp:BoundField HeaderText="Status" DataField="StatusInString" >
                                  <ItemStyle HorizontalAlign="Center" Width="120px" />
                                  <HeaderStyle HorizontalAlign="Center" />                              </asp:BoundField>
                              <asp:BoundField HeaderText="History" HtmlEncode="False" DataField="ShowHistory">
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField>

                          </Columns>
                          <RowStyle CssClass="GridViewItem" />
                          <HeaderStyle CssClass="GridViewHeader" />
                      </asp:GridView>                  </td>
                </tr>
              </table>                
              <p>&nbsp;</p>
              
              </td>
          </tr>
        </table></td>
      </tr>
    </table>

    
    </div>
    </form>
</body>
</html>
